import request from "@/utils/http"
export const login = (params) => {
  return request({
    url: "/login",
    method: "post",
    data: params,
  })
}

export const getCaptchaImage = (data) => {
  return request({
    url: "/captchaImage",
    method: "get",
    params: data,
  })
}
export const getRouters = (data) => {
  return request({
    url: "/getRouters",
    method: "get",
    data: data,
  })
}

export function getInfo() {
  return request({
    url: "/getInfo",
    method: "get",
  })
}
